package com.xtc.ql00045.frame1.contract;


import com.lzy.okgo.model.HttpParams;
import com.xtc.ql00045.frame1.bean.TestBean;

public interface TestContract {
    interface Model {
        //网络请求在这里
        void httpData(HttpParams httpParams,Presenter presenter); //用于接收presenter传过来的数据
    }

    interface View {
        void dataCallBack(TestBean bean);  //用与接收modle层处理完成的数据进行显示
    }

    interface Presenter {
        void send2Model(HttpParams httpParams);
        void getData(TestBean bean);
    }
}
